package com.sincebest.fivestar.model;

/**
 * 服务调用结果
 * @author Jindaodaxia
 *
 * @param <T>
 */
public class ServiceResult <T>{
    private boolean success;
    
    private String errMsg;
    
    private T data;

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String msg) {
        this.errMsg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

}
